<script setup lang="ts">
import { defineProps } from 'vue'

const props = defineProps<{
  title?: string
  description?: string
  backgroundColor?: string
  gradientBackground?: string
  padding?: string
  borderRadius?: string
}>()
</script>

<template>
  <div class="hero-section" :style="{
    backgroundColor: backgroundColor,
    background: gradientBackground,
    padding: padding,
    borderRadius: borderRadius
  }">
    <h1 class="hero-title">{{ title || '一句话 🤖 呈所想' }}</h1>
    <p class="hero-description">{{ description || '与AI对话轻松创建应用和网站' }}</p>
  </div>
</template>

<style scoped>
.hero-section {
  text-align: center;
  padding: 25px 20px;
  margin-bottom: 25px;
  color: white;
  border-radius: 16px;
}

.hero-title {
  font-size: 48px;
  font-weight: 700;
  margin: 0 0 16px;
  line-height: 1.2;
}

.hero-description {
  font-size: 18px;
  margin: 0;
  opacity: 0.9;
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 32px;
  }

  .hero-description {
    font-size: 16px;
  }

  .hero-section {
    padding: 60px 20px;
  }
}
</style>